package com.example.hotelsystem.vo.room;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class RoomSaveVO implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "房间id")
    private Long id;

    @NotNull(message = "请填写房间号码")
    @ApiModelProperty(value = "房间号")
    private Long number;

    @NotNull(message = "请选择所属楼层")
    @ApiModelProperty(value = "所属楼层")
    private Long floorId;

    @NotNull(message = "请选择房间类型")
    @ApiModelProperty(value = "房间类型")
    private Long roomtypeId;

    @ApiModelProperty(value = "房间电话")
    private String roomTel;

    @NotNull(message = "请选择所属城市")
    @ApiModelProperty(value = "所属城市id")
    private Long cityId;

    @NotNull(message = "请选择所属酒店")
    @ApiModelProperty(value = "所属酒店id")
    private Long hotelId;

    @ApiModelProperty(value = "状态(0:空房,1:已入住,2:待退房,3:待打扫)")
    private Integer status;

}
